import { h } from 'vue';
export default {
  name: 'SliderMarker',
  props: {
    mark: {
      type: [String, Object]
    }
  },
  render () {
    let label = typeof this.mark === 'string' ? this.mark : [this.mark.label];

    return h('div', {
      class: 'haloe-slider-marks-item',
      style: this.mark.style || {}
    }, label);
  }
};
